package com.weido.nettyServer.core;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;
import org.springframework.stereotype.Component;

public class WebContext {

    private HttpRequest httpRequest ;

    public WebContext() {
    }

    public WebContext(HttpRequest httpRequest ) {
        this.httpRequest =httpRequest;
    }

    public String getParamter(String param){
        return httpRequest.getParamter(param);
    }


}
